package ylsb.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import ylsb.model.YltpYinjin;
import ylsb.model.YltpYinjinExample;

public interface YltpYinjinMapper {
    List<Map<String, Object>> findByXiangmuId(@Param("xiangmuid") String mmxiangmuId);

    List<Map<String, Object>> findBiaojuelist(@Param("xiangmuid") String mmxiangmuId,
                                              @Param("userid") String mmuserId);
    int countByExample(YltpYinjinExample example);

    int deleteByExample(YltpYinjinExample example);

    int deleteByPrimaryKey(String id);

    int insert(YltpYinjin record);

    int insertSelective(YltpYinjin record);

    List<YltpYinjin> selectByExample(YltpYinjinExample example);

    YltpYinjin selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") YltpYinjin record, @Param("example") YltpYinjinExample example);

    int updateByExample(@Param("record") YltpYinjin record, @Param("example") YltpYinjinExample example);

    int updateByPrimaryKeySelective(YltpYinjin record);

    int updateByPrimaryKey(YltpYinjin record);
}